package org.sixtynine.stock.service;

/**
 * @author Thilan
 *
 */

import java.util.List;

import org.sixtynine.stock.dto.GridPramDTO;
import org.sixtynine.stock.dto.Page;
import org.sixtynine.stock.entity.Company;

public interface CompanyService {

	Company findById(int id);

	void saveCompany(Company company);

	void deleteCompany(int id);

	List<Company> findCompany(String name);
	
	Company findCompany(String name , int id);

	List<Company> searchCompany(int sectorId);

	List<Company> searchCompany(int sectorId, String code);

	Page<Company> searchCompany(int sectorId, String sectorName,
			String companyName, int companyId, GridPramDTO gridPramDTO);

}
